/* http://meyerweb.com/eric/tools/css/reset/ 
v2.0 | 20110126
License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1; background: #ECEEEF;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.content {
    width: 1200px; margin: auto;
    &.mobile {
        width: 100%;
        .add {
            padding: 0 10px; line-height: 40px; font-size: 14px;
            span {
                font-size: 18px;
            }
            a {
                text-decoration: none; color: rgba($color: #000000, $alpha: 0.8)
            }
        }
        .tbody {
            margin-top: 0;
            &.art {
                table {
                    width: 98%; margin: 10px auto; font-size: 14px;
                    tr {
                        th {
                            width: 100px; padding: 0 10px;
                        }
                    }
                }
            }
        }
    }
    .add {
        box-shadow: 0 10px 20px rgba($color: #000000, $alpha: 0.1); line-height: 60px; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; padding: 0 50px; box-sizing: border-box; font-size: 16px;
        span {
            font-size: 24px;
        }
    }
.art {
    box-shadow: 0 10px 20px rgba($color: #000000, $alpha: 0.01);
    table {
        width: 90%; margin: 30px auto; border-bottom: 1px rgba($color: #000000, $alpha: 0.06) solid;
        border-right: 1px rgba($color: #000000, $alpha: 0.06) solid;
        tr {
            td, th {
                height: 40px; line-height: 40px;
                background: rgba($color: #000000, $alpha: 0.06);
                border-top: 1px rgba($color: #000000, $alpha: 0.06) solid;
                border-left: 1px rgba($color: #000000, $alpha: 0.06) solid;
            }
            td {
                background: #FFFFFF; padding-left: 10px;
            }
        }
    }
}
}


.footer {
    background: rgba($color: #000000, $alpha: 0.6); padding: 20px 0; text-align: center; color: #FFFFFF; margin-top: 30px; font-size: 14px;
}

.logo {
    width: 100%; background: url("/img/bg.jpg") no-repeat center top; background-size: 100%; padding: 50px 0; box-sizing: border-box;
    img {
        width: 100%;
    }
}


.header {
    height: 230px;
}
.addNav {
    position: absolute; top: 10px; left: 10px;
    &:hover {
        div {
            display: grid;
        }
    }
    h3 {
        color: #FFF;
    }
    div {
        display: none; grid-template-columns: repeat(3, 1fr); background: #FFFFFF; position: absolute; left: 0px; top: 30px; border-radius: 5px; box-shadow: 0 10px 20px rgba($color: #000000, $alpha: 0.1); width: calc(100vw - 20px);
        &::before {
            content: ""; display: block; width: 0; height: 0; border: 10px transparent solid; border-bottom: 10px #FFFFFF solid; border-top: 0; position: absolute; top: -10px; left: 20px;
        }
        a {
            color: #273149; text-decoration: none; line-height: 32px; display: block; font-size: 14px; padding: 0 15px; white-space: nowrap;
        }
    }
}

.box1,.box2 {
    background:#ffffff; margin: 0 10px; border-radius: 5px; margin-bottom: 20px;
    .tbody {
        display: grid; grid-template-columns: repeat(2, 1fr);
        a {
            text-align: center; text-decoration: none; color: #273149; padding: 15px 0; border-right: 1px rgba($color: #000000, $alpha: 0.1) solid; border-bottom: 1px rgba($color: #000000, $alpha: 0.1) solid;
            .iconfont {
                display: block; font-size: 40px;
            }
            i {
                line-height: 40px;
            }
            &:nth-child(2n) {
                border-right: none;
            }
            &:nth-child(3),&:nth-child(4) {
                border-bottom: none;
            }
        }
    }
    
}

.box3 {
    background:#ffffff; margin: 0 10px; border-radius: 5px; margin-bottom: 20px;
    .tbody {
        display: block;  padding: 10px 20px;
        .icon {
            line-height: 40px; font-size: 14px; border-bottom: 1px rgba($color: #000000, $alpha: 0.06) solid;
            display: flex; justify-content: space-between;
            .iconfont {
                color: rgba($color: #000000, $alpha: 0.3);
            }
        }
    }
}

.personCont {
    width: 100%; height: auto;
    .card {
        padding: 50px 0; text-align: center;
        .pic {
            width: 150px; height: 200px; background: #CCCCCC; margin: auto; border-radius: 5px; overflow: hidden;
            img {
                width: 100%; height: 100%;
            }
        }
        .name {
            font-size: 50px; line-height: 100px;
        }
        .workUnit {
            font-size: 24px; line-height: 60px; color: rgba($color: #000000, $alpha: 0.8);
        }
        .id {
            font-size: 20px; line-height: 30px; color: rgba($color: #000000, $alpha: 0.8);
        }
    }
}